


MainMenu = createMenu("Main menu");
MainMenu_Entities = createMenu("Entities");
MainMenu_Entities_Music = createMenu("Musical");



/* Menu items */
// arg0 - id
// arg1 - label
// createMenuItem()

itemEntities = createMenuItem("item_gotomenu_entities", "Entities");

itemMusic = createMenuItem("item_gotomenu_music", "Music");

itemDrums = createMenuItem("item_gotomenu_drums", "Drums", sprArt_Drums);
itemGuitar = createMenuItem("item_gotomenu_guitar", "Guitar", sprArt_Guitar);
itemXylophone = createMenuItem("item_gotomenu_xylophone", "Xylophone", sprArt_Xylophone);
itemTrumpet = createMenuItem("item_gotomenu_trumpet", "Trumpet", sprArt_Trumpet);

addMenuItemToMenu(itemEntities, MainMenu);

// add musical entities         
addMenuItemToMenu(itemMusic, MainMenu_Entities);

// Add menu items to musical entities menu
addMenuItemToMenu(itemDrums, MainMenu_Entities_Music);
addMenuItemToMenu(itemGuitar, MainMenu_Entities_Music);
addMenuItemToMenu(itemXylophone, MainMenu_Entities_Music);
addMenuItemToMenu(itemTrumpet, MainMenu_Entities_Music);

linkMenuItemToMenu(itemMusic, MainMenu_Entities_Music);
linkMenuItemToMenu(itemEntities, MainMenu_Entities);
//linkMenuItemToMenu(MainMenu_Entities, MainMenu_Entities_Music);
